package com.keste.ojt1.view.task9.bkamal.flows.page;

import oracle.adf.controller.TaskFlowId;

public class NavigationBean {
    private String taskFlow2 = "/WEB-INF/com/keste/ojt1/view/task9/bkamal/flows/EmpDeptSearchTF.xml#EmpDeptSearchTF";
  private String taskFlow1 = "/WEB-INF/com/keste/ojt1/view/task9/bkamal/flows/TreeTableTF.xml#TreeTableTF";
  private String taskFlowId = taskFlow1;
    public NavigationBean() {
    }

    public String showTreeTable() {
        taskFlowId=taskFlow1;
        // Add event code here...
        return null;
    }

    public String showMasterDetail() {
         taskFlowId=taskFlow2;
         // Add event code here...
        return null;
    }

    public TaskFlowId getDynamicTaskFlowId() {
        return TaskFlowId.parse(taskFlowId);
    }
}
